/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package reportcenter.support.features;


/**
 *
 * @author renan
 */
public class IsDB2Driver implements TransformBehavior{

    public Object perform(Object valueToEvaluate) {
        Boolean retorno = Boolean.FALSE;
        if(valueToEvaluate.toString().equalsIgnoreCase("com.ibm.db2.jcc.DB2Driver")){
            retorno = Boolean.TRUE;
        }
        
        return retorno;
    }

    public Object perform(Object value1, Object value2) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
